﻿using System.Linq.Expressions;
using YAKEJI.Xaf.DataDictionaries;
using YAPACS.BusinessObjects.Exams;

namespace YAPACS.RisServer.Interface.Imitate.ExamDetail
{
    public interface IPatinetFilter
    {

        /// <summary>
        /// 获取表达式
        /// </summary>
        /// <returns>Func<Patinet,bool></returns>
        public Expression<Func<Patient, bool>> ToExpression();

        /// <summary>
        /// 属性设置
        /// </summary>
        /// <param name="name"></param>
        /// <param name="oldName"></param>
        /// <param name="parentName"></param>
        /// <param name="idCardType"></param>
        /// <param name="idCardNumber"></param>
        public void SetProperties(string name, string oldName, string parentName, DataDictItem idCardType, string idCardNumber ,DataDictItem medicalInsuranceType,string medicalInsuranceNumber,string phoneNumber,string phoneNumber2);
    }
}
